package com.tuling.mall.feign.api;

import com.tuling.mall.common.R;
import feign.RequestLine;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "mall-order",path = "/order")
public interface OrderFeignService {

    @RequestLine("GET /findOrderByUserId/{userId}")
    R findOrderByUserId(@PathVariable("userId") Integer userId);

}
